package cc.mrbird.febs.buss.mapper;

import cc.mrbird.febs.buss.entity.MenuItemPublic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
/**
 *  Mapper
 *
 * @author Lujingyuan
 * @date 2021-10-08 19:31:43
 */
public interface MenuItemPublicMapper extends BaseMapper<MenuItemPublic> {
    IPage<MenuItemPublic> findMenuItemPublicDetailPageByMap(Page page, @Param("map") Map map);
    int insertOne(MenuItemPublic menuItemPublic);
    List<MenuItemPublic> selectByMap(@Param("map") Map<String, Object> map);

    List<MenuItemPublic> selectConnByMap(@Param("map") Map<String, Object> map);
}
